﻿@using Abp.Web.Mvc.Extensions
@model XHD.WXZJ.Web.Models.Account.AccountDetailsViewModel
@section Scripts
{
    @Html.IncludeScript("~/Views/Account/AccountDetails.js")
}
@Html.IncludeScript("~/Views/Account/AccountDetails.js")

<li class="dropdown dropdown-user dropdown-dark">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
        <span class="username username-hide-on-mobile" id="HeaderUserName">
         @Model.NameAndSurname  <span id="HeaderCurrentUserName">@Model.UserName</span>
        </span>
       
        <img id="HeaderProfilePicture" alt="" class="img-circle" src="/Content/images/common/avatar6.jpg"/>
        <input type="hidden" id="hdUserId" value="@Model.UserId" />
    </a>
    <ul class="dropdown-menu dropdown-menu-default">
        <li>
            <a id="UserProfileMySettingsLink" href="#"><i class="icon-settings"></i> 我的资料</a>
        </li>
        <li>
            <a id="UserProfileChangePictureLink" href="#"><i class="icon-user"></i> 修改头像</a>
        </li>
        <li>
            <a id="UserProfileChangePasswordLink" href="#"><i class="icon-key"></i> 修改密码</a>
        </li>
        <li class="divider"></li>
        <li>
            <a href="@Url.Action("Logout","Account")"><i class="icon-logout"></i> 注销</a>
        </li>
    </ul>
</li>